
import request from '@/utils/request'

export function getSearchResultsApi (params) {
  return request({
    url: '/search',
    params
  })
}

export function getWordsSuggestApi (q) {
  return request({
    url: '/suggestion',
    params: { q: q }
  })
}
